﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElectronicCommerce.Framework.Payment.Data.Interfaces;
using ElectronicCommerce.Framework.Payment.Data.SqlServer;

namespace ElectronicCommerce.Framework.Payment.Data
{
    public static class RepositoryFactory
    {
        public static IChargeHistoryRepository CreateChargeHistoryRepository()
        {
            return new SqlChargeHistoryRepository();
        }

        public static IRefundHistoryRepository CreateRefundHistoryRepository()
        {
            return new SqlRefundHistoryRepository();
        }
    }
}
